<?php
/**
 * Dcolors,The Community Application for Web
 *
 * login class
 *
 * Not free software
 * @author     chopin xiao <x@sunsne.com>
 * @copyright  2009 The Dcolors Group
 * @version    SVN: $Id: login.php 15 2009-01-19 11:36:08Z chopins.xiao $
 **/
require_once('../APP/init.php');
class login extends Init {
	public function __construct()
	{
		if($this->sid)
		{
			$this->isLogin();
		}else{
			$this->actionLogin();
		}
	}
	public function isLogin()
	{
		die('You is longinend');
	}
	public function actionLogin()
	{
		LoadFunction::LoadControl('CLogin');
	}
}
return new Login();